<?php
class Photo extends AppModel {

	var $name = 'Photo';
	var $validate = array(
		'item_id' => array('notempty'),
		'urlPhoto' => array('notempty')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Item' => array(
			'className' => 'Item',
			'foreignKey' => 'item_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>